Skip to content

Anouar - #32

Merged
mousanouar merged 12 commits into
mainfrom
Anouar
May 26, 2026
Merged

Anouar#32
mousanouar merged 12 commits into
mainfrom
Anouar

Conversation

@mousanouar

Copy link
Copy Markdown
Member

No description provided.

mousanouar added 11 commits May 26, 2026 12:36
…elpers

Adds an overload of conjugate_by_qft(H, W) that applies the QFT only on position sites and uses identity at auxiliary sites. Adds _embed_in_full_sites (identity padding) and _embed_displacement_in_full_sites (all-ones padding, required so inter-sublattice/inter-layer current matrix elements are not zeroed out).
All five bubble pipeline variants (get_bubble_mpo, get_bubble_mpo_cheb2d, get_bubble_mpo_cheb2d_tucker, get_bubble_diag_cheb2d, get_bubble_diag_cheb2d_svd/tucker) now short-circuit P2 = P1 and Tn2 = Tn1 when both Hamiltonians are the same object, halving the most expensive steps for the self-bubble case.

use replaceinds instead of delta contractions in replace_sites
Replaces the MPOin[n] * delta(bra, prime(new)) * delta(ket, new) pattern with replaceinds, which is a metadata-only operation and avoids spurious tensor contractions.
…nductivity_tk and GPU_tk as I am locally playing around with those)
get_C now accepts Lambda= as an ASCII keyword that falls back to the Unicode Λ parameter, easing use from environments without easy Unicode input.
@mousanouar

Copy link
Copy Markdown
Member Author

@copilot resolve the merge conflicts in this pull request

Copilot AI commented May 26, 2026

Copy link
Copy Markdown

@copilot resolve the merge conflicts in this pull request

Resolved and pushed in commit 1f0afa4.

@mousanouar
mousanouar merged commit f253c40 into main May 26, 2026
0 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants